package com.atguigu.staservice.service;

import com.atguigu.staservice.entity.StatisticsDaily;
import com.atguigu.staservice.entity.vo.SearchObjVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 * 网站统计日数据 服务类
 * </p>
 *
 * @author AIR
 * @since 2022-10-14
 */
public interface StatisticsDailyService extends IService<StatisticsDaily> {

    void registerCount(String day);

    //图标显示，返回两部分数据，日期json数组，数量json数组
    Map<String, Object> getShowData(SearchObjVo searchObjVo);

    //返回最近七天的数据
    Map<String, Object> getNearlySevenDays();

    //返回前一天数据
    Map<String, Object> getPreviousDayData();
}
